package com.dao.wmsdao;

import java.sql.SQLException;
import java.util.List;

import com.bean.wms.Receipt;
import com.bean.wms.ReceiptDetail;


public interface ReceiptDao {
	
	public Receipt getReceiptByKey(String wareHourse, String externReceiptkey , String storerkey);
	
	public List<Receipt> getReceiptByStatus(String status , String susr1 , String susr3);
		
	public void insertReceipt(Receipt receipt) throws SQLException;
	
	public void updateReceipt(Receipt receipt) throws SQLException;
	
	public void insertReceiptDetail(ReceiptDetail receiptDetail) throws SQLException;
	
	public void updateReceiptDetail(ReceiptDetail receiptDetail) throws SQLException;
	
	public void insertReceiptDetailArray(List<ReceiptDetail> receiptDetailArray) throws SQLException;
	
	public void updateReceiptDetailArray(List<ReceiptDetail> receiptDetailArray) throws SQLException;

}
